Eclipse JDT
Pre-release 3.0

org.eclipse.jdt.core.search
Class SearchMatch

java.lang.Object
  extended byorg.eclipse.jdt.core.search.SearchMatch

public class SearchMatch
extends Object

generic result. hierarchy can be extended TODO add spec

Since:
3.0

Field Summary
static int A_ACCURATE
           
static int A_INACCURATE
           
 
Constructor Summary
SearchMatch(String name, String documentPath, int accuracy, SearchParticipant participant, int sourceStart, int sourceEnd, int sourceLineNumber, String descriptiveLocation)
           
 
Method Summary
 int getAccuracy()
           
 String getDescriptiveLocation()
           
 String getDocumentPath()
           
 String getName()
           
 SearchParticipant getParticipant()
          Returns the participant which issued this match
 int getSourceEnd()
           
 int getSourceLineNumber()
           
 int getSourceStart()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

A_ACCURATE

public static final int A_ACCURATE
See Also:
Constant Field Values

A_INACCURATE

public static final int A_INACCURATE
See Also:
Constant Field Values
Constructor Detail

SearchMatch

public SearchMatch(String name,
                   String documentPath,
                   int accuracy,
                   SearchParticipant participant,
                   int sourceStart,
                   int sourceEnd,
                   int sourceLineNumber,
                   String descriptiveLocation)
Method Detail

getAccuracy

public int getAccuracy()

getDescriptiveLocation

public String getDescriptiveLocation()

getDocumentPath

public String getDocumentPath()

getName

public String getName()

getParticipant

public SearchParticipant getParticipant()
Returns the participant which issued this match


getSourceEnd

public int getSourceEnd()

getSourceLineNumber

public int getSourceLineNumber()

getSourceStart

public int getSourceStart()

Eclipse JDT
Pre-release 3.0

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.